package com.smalldoor.thread.demo01;

// 实现runnable方法
public class Thread03 implements Runnable{
    public static void main(String[] args) {
        Thread03 thread03 = new Thread03();

        new Thread(thread03).start();

        for (int i = 0; i < 1000; i++) {
            System.out.println(252822);
        }
    }

    public void run(){
        for (int i = 0; i < 100; i++) {
            System.out.println(123);
        }
    }
}
